/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author TQNINH
 */
public class CustomerAccount {
    private String accType;
    private String accNo;
    private double accBal;
    
    public CustomerAccount(String t, String n, double b){
        this.accType = t;
        this.accNo = n;
        this.accBal = b;
    }
    
    public String getAccountType(){
        return accType;
    }
    
    public double getBanlance(){
        return accBal;
    }
    
    public void setBalance(double amount){
        accBal = amount;
    }
    
    public void displayDetails(){
        System.out.println(accNo + " [" + accType + ", " + accBal + "]");
    }
}
